package com.wisdytech.linkdcs.system.service.impl;

import javax.annotation.Resource;

import org.apache.shiro.SecurityUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.wisdytech.linkdcs.system.dao.ISysUserDao;
import com.wisdytech.linkdcs.system.model.SysUser;
import com.wisdytech.linkdcs.system.service.IUserService;

@Service("userService")
@Transactional
public class UserServiceImpl implements IUserService {

	@Resource
	private ISysUserDao sysUserDao;
	
	@Override
	public SysUser getSystemUserByName(String userName) {
		
		return sysUserDao.getUserByName(userName);
	}

}
